SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Day%' AND item_moderated = 1 AND item_publish = 1 ORDER BY item_id DESC LIMIT ' at line 1 at /var/www/3dmag.org/en/classes/modules/user/mapper/User.mapper.class.php line 1474
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Day%' AND item_moderated = 1 AND item_publish = 1 ORDER BY item_id DESC LIMIT ' at line 1 [query] => SELECT item_date_add AS dt FROM 3d_catalog_item WHERE item_tags LIKE '%Valentine's Day%' AND item_moderated = 1 AND item_publish = 1 ORDER BY item_id DESC LIMIT 1 [context] => /var/www/3dmag.org/en/classes/modules/user/mapper/User.mapper.class.php line 1474 )